package com.ella.mapper;

import com.ella.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author 浮生若梦
 * @since 2023-05-08
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

	List<Long> selectMenuIdsByUserId(Long userId);

	List<Long> selectRoleIdsByUserId(Long userId);
	List<String> selectRoleKeysByUserId(Long userId);

}
